<template>
	<div id='submit-order'>
		<el-row>
			<el-col :span='17'>
				<span>实付款：</span>
				<span style='color:red'>￥{{money}}</span>
			</el-col>
			<el-col :span='7' class='submit'>
				<div @click='submitOrder' v-loading='loading'>
					去支付
				</div>
			</el-col>
		</el-row>
	</div>
</template>

<script>
	export default {
		props:['money','loading'],
		methods:{
			submitOrder(){
				this.$emit('submitOrder');
			}
		}
	}
</script>

<style scpoed>
	#submit-order{
		height:55px;
		line-height: 55px;
		text-indent: 1rem;
		background: white;
	}
	.submit{
		background: #fe6105;
		font-size: 15px;
		text-align: center;
		color:white;
	}
</style>